<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<c:import url="/view/admin/include/header/adminHeader.jsp"></c:import>
    <!-- 컨텐츠 부분 -->
	<div id="container">
    	<!-- 왼쪽 메뉴 부분 -->
    	<c:import url="/view/admin/include/left/adminLeft.jsp"></c:import>
        <!-- 왼쪽 메뉴 부분 -->
        <!-- 오른쪽 내용 부분 -->
        <dl>
        	<dd class="path">
        	홈 > 게시판 관리 > <span class="path_b">관리자 회원</span>
        	</dd>
        </dl>
        <dl class="content">
            <dd class="">
            	<form id="adminModiFrm" name="adminModiFrm" action="/admin/adminModify.hcom" method="post">
            	<input type="hidden" name="mem_seq" id="mem_seq" value="${memberView.mem_seq }">
            	<table cellspacing="0" cellpadding="0" summary="" >
                	<caption></caption>
                    	 <colgroup>
                          <col width="15%;"/>
                          <col width="35%;"/>
                          <col width="15%;"/>
                          <col width="35%;"/>
                         </colgroup>
                    <tbody>
                    	<tr>
                        	<th scope="row">이름</th>
                            <td class="table_txt_left"><input type="text" name="mem_name" id="mem_name" value="${memberView.mem_name }" style="width:200px;"/></td>
                            <th scope="row">사번</th>
                            <td class="table_txt_left"><input type="text" name="mem_no" id="mem_no" value="${memberView.mem_no }" style="width:200px;"/></td>
                        </tr>
                    	<tr>
                        	<th scope="row">직급</th>
                            <td class="table_txt_left"><input type="text" name="mem_position" id="mem_position" value="${memberView.mem_position }" style="width:200px;"/></td>
                            <th scope="row">부서</th>
                            <td class="table_txt_left"><input type="text" name="mem_dept" id="mem_dept" value="${memberView.mem_dept }" style="width:200px;"/></td>
                        </tr>                    
                        <tr>
                        	<th scope="row" class="table_td_bottom table_td_bottom_x">이메일</th>
                            <td class="table_txt_left table_td_bottom_x" colspan="3"><input type="text" name="mem_email" id="mem_email" value="${memberView.mem_email }" style="width:200px;"/></td>
                        </tr>
                    </tbody>
                 </table>
                 </div>
                 </form>
            </dd>
        </dl>
        <dl class="paginate">  	
            <dd class="btn_right">
            	<input type="button" value="확인" id="btn_modi" class="input_btn_s b" />
            	<input type="button" id="btnList" value="목록" class="input_btn_s b" />
            </dd>
         </dl>
        <!-- 오른쪽 내용 부분 -->
    </div>
    <!-- 컨텐츠 부분 -->
<c:import url="/view/admin/include/footer/adminFooter.jsp"></c:import>
<script type="text/javascript" src="/jquery/datepicker.js"></script>
<script type="text/javascript" src="/jquery/jquery.watermarkinput.js" ></script>
<script type="text/javascript">
	$().ready(function(){		
		$("#btn_modi").click(function(){
			if(confirm("수정하시겠습니까?")){
				$("#adminModiFrm").submit();
			}		
		});	
		
		$("#btnList").click(function(){
			location.href="/admin/adminList.hcom";
		});
	});

</script>
